package com.itheima.service.impl;

import com.itheima.service.UserService;

import java.util.List;


public class UserServiceimpl implements UserService {
    @Autowaired
    UserDao userDao;
    @Override
    public List<user> queryList(Integer userid) {
            return UserDao.getBedsByRoomId(userid);
    }

}
